From ee1d64dd016c5b67f6b5c0da7024988cfe29c665 Mon Sep 17 00:00:00 2001 From: Iurii Date: Sun, 28 Jul 2024 01:07:57 +0200 Subject: [PATCH] Adjust readme --- readme.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/readme.md b/readme.md index e4c80ea..eb0f469 100644 --- a/readme.md +++ b/readme.md @@ -28,11 +28,11 @@ isLike('Function', { call: 'me' }) // => false ### Error Handling -The `isLike` function throws a `TypeError` if the check for the provided interface is not implemented. +The `isLike` function throws a [TypeError](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypeError) if the check for the provided interface is not implemented. ## Functions -### `type(value)` +### `type` Gets the type of a value as a string.w @@ -52,7 +52,7 @@ type(async () => {}) // => 'AsyncFunction' type(new URLSearchParams()) // => 'URLSearchParams' ``` -### `is(string, value)` +### `is` Compares the provided type with the type of the provided value. @@ -73,7 +73,7 @@ is('Null', null) // => true is('Object', []) // => false ``` -### `isLike(string, value)` +### `isLike` Tests if the provided value satisfies the provided interface.