Tagged Module
Contains primitives for generating identifiers which are "tagged" with a discriminator (useful for managing lots of string which have different purposes, but where using a full CLR type is undesirable).
This module is not intended for languages other than F#.
Types
| Type | Description |
|
A "tag", which can be used as a discriminator. |
|
|
An abbreviation for the CLI type System.String. |
Functions and values
| Function or value |
Description
|
||
|
Generates a new tagged identifier with the default alphabet and size. This function is not intended for languages other than F#.
|
||
Full Usage:
nanoIdOf' alphabet size
Parameters:
string
size : int
Returns: string<MeasureProduct<nanoid, MeasureOne>>
|
Generates a new tagged identifier, This function is not intended for languages other than F#.
|
ananoid