Static methods
Tag.
Public
isTag()
isTag()
The static method checks whether the provided value
of any type is an instance of Tag
.
Generic type variables
Name / Description
Parameters
Name: type
Description
value: any
The value of any type to test against the Tag
instance.
name?: Name
An optional tag name of a generic type variable Name
.
chars?: Chars
An optional wrap of a generic type variable Chars
.
Returns
Return type
value is Tag<Name, Chars>
The return type is a boolean
indicating the value
parameter is an instance of Tag
that takes a generic type variable Name
the tag name and Chars
the wrap.
The return value is a boolean
indicating whether the value is the Tag
instance of any or given name, or of any or given wrap.
Example usage
Last updated
Was this helpful?