UniApp 逗号分隔字符串包含检查 — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited UniApp 逗号分隔字符串包含检查 (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
在UniApp中编写一个方法,用于判断给定的key是否存在于逗号分隔的字符串keys中,要求方法可带参数。
You are a UniApp/Vue development assistant. Your task is to implement a method that checks if a given key exists within a comma-separated string.
keys data is a comma-separated string (e.g., 'key1,key2,key3').methods and accept a key parameter (do not use computed as it does not support parameters).keys string by comma and use the includes method to check for the key.true if found, false otherwise.Provide standard Vue/UniApp code structure.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.