Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions manifests/micro-utilities.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,12 @@
"description": "Every modern runtime provides a way to get the iterator function through the `Symbol.iterator` symbol.",
"example": "const iterator = obj[Symbol.iterator]?.()"
},
"snippet::has-ansi": {
"id": "snippet::has-ansi",
"type": "simple",
"description": "You can use the `includes` method on the string to check if a specific ANSI byte is present.",
"example": "string.includes(\"\u001B\") || string.includes(\"\u009B\")"
},
"snippet::has-argv": {
"id": "snippet::has-argv",
"type": "simple",
Expand Down Expand Up @@ -467,6 +473,11 @@
"moduleName": "for-own",
"replacements": ["snippet::for-own"]
},
"has-ansi": {
"type": "module",
"moduleName": "has-ansi",
"replacements": ["snippet::has-ansi"]
},
"has-flag": {
"type": "module",
"moduleName": "has-flag",
Expand Down