Skip to content

Commit

Permalink
Update README.md for ESM bundle v0.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
stdlib-bot committed Jul 27, 2024
1 parent e525e40 commit 4fa01bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ limitations under the License.
## Usage

```javascript
import isMethod from 'https://cdn.jsdelivr.net/gh/stdlib-js/assert-is-method@esm/index.mjs';
import isMethod from 'https://cdn.jsdelivr.net/gh/stdlib-js/assert-is-method@v0.2.2-esm/index.mjs';
```

#### isMethod( value, property )
Expand Down Expand Up @@ -120,7 +120,7 @@ bool = isMethod( value, 'toString' );
<body>
<script type="module">

import isMethod from 'https://cdn.jsdelivr.net/gh/stdlib-js/assert-is-method@esm/index.mjs';
import isMethod from 'https://cdn.jsdelivr.net/gh/stdlib-js/assert-is-method@v0.2.2-esm/index.mjs';

var bool = isMethod( { 'a': isMethod }, 'a' );
// returns true
Expand Down

0 comments on commit 4fa01bd

Please sign in to comment.