UNPKG

@stdlib/assert

Version:

Standard assertion utilities.

24 lines (18 loc) 403 B
{{alias}}( value ) Tests if a value is a string in kebab case. Parameters ---------- value: any Value to test. Returns ------- bool: boolean Boolean indicating whether a value is a string in kebab case. Examples -------- > var bool = {{alias}}( 'beep-boop' ) true > bool = {{alias}}( 'BEEP_BOOP' ) false See Also --------