@@ -94,6 +94,7 @@ import isBooleanArray = require( '@stdlib/assert/is-boolean-array' );
9494import isBoxedPrimitive = require( '@stdlib/assert/is-boxed-primitive' ) ;
9595import IS_BROWSER = require( '@stdlib/assert/is-browser' ) ;
9696import isBuffer = require( '@stdlib/assert/is-buffer' ) ;
97+ import isCamelcase = require( '@stdlib/assert/is-camelcase' ) ;
9798import isCapitalized = require( '@stdlib/assert/is-capitalized' ) ;
9899import isCentrosymmetricMatrix = require( '@stdlib/assert/is-centrosymmetric-matrix' ) ;
99100import isCircular = require( '@stdlib/assert/is-circular' ) ;
@@ -112,6 +113,7 @@ import isComplex128Array = require( '@stdlib/assert/is-complex128array' );
112113import isComposite = require( '@stdlib/assert/is-composite' ) ;
113114import isConfigurableProperty = require( '@stdlib/assert/is-configurable-property' ) ;
114115import isConfigurablePropertyIn = require( '@stdlib/assert/is-configurable-property-in' ) ;
116+ import isConstantcase = require( '@stdlib/assert/is-constantcase' ) ;
115117import isCubeNumber = require( '@stdlib/assert/is-cube-number' ) ;
116118import isCurrentYear = require( '@stdlib/assert/is-current-year' ) ;
117119import IS_DARWIN = require( '@stdlib/assert/is-darwin' ) ;
@@ -122,6 +124,7 @@ import isDateObject = require( '@stdlib/assert/is-date-object' );
122124import isDateObjectArray = require( '@stdlib/assert/is-date-object-array' ) ;
123125import isDigitString = require( '@stdlib/assert/is-digit-string' ) ;
124126import IS_DOCKER = require( '@stdlib/assert/is-docker' ) ;
127+ import isDomainName = require( '@stdlib/assert/is-domain-name' ) ;
125128import IS_ELECTRON = require( '@stdlib/assert/is-electron' ) ;
126129import IS_ELECTRON_MAIN = require( '@stdlib/assert/is-electron-main' ) ;
127130import IS_ELECTRON_RENDERER = require( '@stdlib/assert/is-electron-renderer' ) ;
@@ -164,6 +167,7 @@ import isIntegerArray = require( '@stdlib/assert/is-integer-array' );
164167import isIterableLike = require( '@stdlib/assert/is-iterable-like' ) ;
165168import isIteratorLike = require( '@stdlib/assert/is-iterator-like' ) ;
166169import isJSON = require( '@stdlib/assert/is-json' ) ;
170+ import isKebabcase = require( '@stdlib/assert/is-kebabcase' ) ;
167171import isLeapYear = require( '@stdlib/assert/is-leap-year' ) ;
168172import IS_LITTLE_ENDIAN = require( '@stdlib/assert/is-little-endian' ) ;
169173import isLocalhost = require( '@stdlib/assert/is-localhost' ) ;
@@ -212,6 +216,7 @@ import isObject = require( '@stdlib/assert/is-object' );
212216import isObjectArray = require( '@stdlib/assert/is-object-array' ) ;
213217import isObjectLike = require( '@stdlib/assert/is-object-like' ) ;
214218import isOdd = require( '@stdlib/assert/is-odd' ) ;
219+ import isPascalcase = require( '@stdlib/assert/is-pascalcase' ) ;
215220import isPersymmetricMatrix = require( '@stdlib/assert/is-persymmetric-matrix' ) ;
216221import isPlainObject = require( '@stdlib/assert/is-plain-object' ) ;
217222import isPlainObjectArray = require( '@stdlib/assert/is-plain-object-array' ) ;
@@ -251,6 +256,7 @@ import isSharedArrayBuffer = require( '@stdlib/assert/is-sharedarraybuffer' );
251256import isSkewCentrosymmetricMatrix = require( '@stdlib/assert/is-skew-centrosymmetric-matrix' ) ;
252257import isSkewPersymmetricMatrix = require( '@stdlib/assert/is-skew-persymmetric-matrix' ) ;
253258import isSkewSymmetricMatrix = require( '@stdlib/assert/is-skew-symmetric-matrix' ) ;
259+ import isSnakecase = require( '@stdlib/assert/is-snakecase' ) ;
254260import isSquareMatrix = require( '@stdlib/assert/is-square-matrix' ) ;
255261import isSquareNumber = require( '@stdlib/assert/is-square-number' ) ;
256262import isSquareTriangularNumber = require( '@stdlib/assert/is-square-triangular-number' ) ;
@@ -288,6 +294,7 @@ import isWritableProperty = require( '@stdlib/assert/is-writable-property' );
288294import isWritablePropertyIn = require( '@stdlib/assert/is-writable-property-in' ) ;
289295import isWriteOnlyProperty = require( '@stdlib/assert/is-write-only-property' ) ;
290296import isWriteOnlyPropertyIn = require( '@stdlib/assert/is-write-only-property-in' ) ;
297+ import tools = require( '@stdlib/assert/tools' ) ;
291298
292299/**
293300* Interface describing the `assert` namespace.
@@ -1724,6 +1731,30 @@ interface Namespace {
17241731 */
17251732 isBuffer : typeof isBuffer ;
17261733
1734+ /**
1735+ * Tests if a value is a camelcase string.
1736+ *
1737+ * @param value - value to test
1738+ * @returns boolean indicating whether value is a camelcase string
1739+ *
1740+ * @example
1741+ * var bool = ns.isCamelcase( 'beepBoop' );
1742+ * // returns true
1743+ *
1744+ * @example
1745+ * var bool = ns.isCamelcase( 'HelloWorld' );
1746+ * // returns true
1747+ *
1748+ * @example
1749+ * var bool = ns.isCamelcase( 'Hello World' );
1750+ * // returns false
1751+ *
1752+ * @example
1753+ * var bool = ns.isCamelcase( 'hello world' );
1754+ * // returns false
1755+ */
1756+ isCamelcase : typeof isCamelcase ;
1757+
17271758 /**
17281759 * Tests if a value is a string having an uppercase first character.
17291760 *
@@ -2161,6 +2192,36 @@ interface Namespace {
21612192 */
21622193 isConfigurablePropertyIn : typeof isConfigurablePropertyIn ;
21632194
2195+ /**
2196+ * Tests if a value is a constantcase string.
2197+ *
2198+ * @param value - value to test
2199+ * @returns boolean indicating whether a value is a constantcase string
2200+ *
2201+ * @example
2202+ * var bool = ns.isConstantcase( 'BEEP_BOOP' );
2203+ * // returns true
2204+ *
2205+ * bool = ns.isConstantcase( 'beep_boop' );
2206+ * // returns false
2207+ *
2208+ * bool = ns.isConstantcase( 'BEEP-BOOP' );
2209+ * // returns false
2210+ *
2211+ * bool = ns.isConstantcase( 'beep boop' );
2212+ * // returns false
2213+ *
2214+ * bool = ns.isConstantcase( 'beep' );
2215+ * // returns false
2216+ *
2217+ * bool = ns.isConstantcase( '' );
2218+ * // returns false
2219+ *
2220+ * bool = ns.isConstantcase( null );
2221+ * // returns false
2222+ */
2223+ isConstantcase : typeof isConstantcase ;
2224+
21642225 /**
21652226 * Tests if a value is a cube number.
21662227 *
@@ -2370,6 +2431,22 @@ interface Namespace {
23702431 */
23712432 IS_DOCKER : typeof IS_DOCKER ;
23722433
2434+ /**
2435+ * Tests if a value is a domain name.
2436+ *
2437+ * @param value - value to test
2438+ * @returns boolean indicating whether a value is a domain name
2439+ *
2440+ * @example
2441+ * var bool = ns.isDomainName( 'beep.boop' );
2442+ * // returns true
2443+ *
2444+ * @example
2445+ * var bool = ns.isDomainName( 'foo@bar.com' );
2446+ * // returns false
2447+ */
2448+ isDomainName : typeof isDomainName ;
2449+
23732450 /**
23742451 * Boolean indicating if the runtime is Electron.
23752452 *
@@ -3318,6 +3395,30 @@ interface Namespace {
33183395 */
33193396 isJSON : typeof isJSON ;
33203397
3398+ /**
3399+ * Tests if a value is a string in kebab case.
3400+ *
3401+ * @param value - value to test
3402+ * @returns boolean indicating whether a value is a string in kebab case
3403+ *
3404+ * @example
3405+ * var bool = ns.isKebabcase( `beep-boop` );
3406+ * // returns true
3407+ *
3408+ * @example
3409+ * var bool = ns.isKebabcase( `Beep-boop` );
3410+ * // returns false
3411+ *
3412+ * @example
3413+ * var bool = ns.isKebabcase( `BEEP_BOOP` );
3414+ * // returns false
3415+ *
3416+ * @example
3417+ * var bool = ns.isKebabcase( 1 );
3418+ * // returns false
3419+ */
3420+ isKebabcase : typeof isKebabcase ;
3421+
33213422 /**
33223423 * Tests whether a value corresponds to a leap year in the Gregorian calendar.
33233424 *
@@ -4482,6 +4583,30 @@ interface Namespace {
44824583 */
44834584 isOdd : typeof isOdd ;
44844585
4586+ /**
4587+ * Tests if a value is a string in Pascal case.
4588+ *
4589+ * @param value - value to test
4590+ * @returns boolean indicating whether a value is a string in Pascal case
4591+ *
4592+ * @example
4593+ * var bool = ns.isPascalcase( 'HelloWorld' );
4594+ * // returns true
4595+ *
4596+ * @example
4597+ * var bool = ns.isPascalcase( 'helloWorld' );
4598+ * // returns false
4599+ *
4600+ * @example
4601+ * var bool = ns.isPascalcase( 'HELLO_WORLD' );
4602+ * // returns false
4603+ *
4604+ * @example
4605+ * var bool = ns.isPascalcase( null );
4606+ * // returns false
4607+ */
4608+ isPascalcase : typeof isPascalcase ;
4609+
44854610 /**
44864611 * Tests if a value is a persymmetric matrix.
44874612 *
@@ -5579,6 +5704,34 @@ interface Namespace {
55795704 */
55805705 isSkewSymmetricMatrix : typeof isSkewSymmetricMatrix ;
55815706
5707+ /**
5708+ * Tests if a value is a string in snake case.
5709+ *
5710+ * @param value - value to test
5711+ * @returns boolean indicating whether a value is a string in snake case
5712+ *
5713+ * @example
5714+ * var bool = ns.isSnakecase( 'hello_world' );
5715+ * // returns true
5716+ *
5717+ * @example
5718+ * var bool = ns.isSnakecase( 'Hello World' );
5719+ * // returns false
5720+ *
5721+ * @example
5722+ * var bool = ns.isSnakecase( 'Hello_World' );
5723+ * // returns false
5724+ *
5725+ * @example
5726+ * var bool = ns.isSnakecase( '' );
5727+ * // returns true
5728+ *
5729+ * @example
5730+ * var bool = ns.isSnakecase( null );
5731+ * // returns false
5732+ */
5733+ isSnakecase : typeof isSnakecase ;
5734+
55825735 /**
55835736 * Tests if a value is a 2-dimensional ndarray-like object having equal dimensions.
55845737 *
@@ -6548,6 +6701,11 @@ interface Namespace {
65486701 * // returns true
65496702 */
65506703 isWriteOnlyPropertyIn : typeof isWriteOnlyPropertyIn ;
6704+
6705+ /**
6706+ * Assertion utility tools.
6707+ */
6708+ tools : typeof tools ;
65516709}
65526710
65536711/**
0 commit comments