StringExtensions.Matches
Declaration#
public static bool Matches(List<string> self, List<string> other)Parameters#
| Name | Description |
|---|---|
| self | Original list |
| other | Copy to compare |
Description#
Compare object to another copy
Usage#
Example
using NullSave.GDTK;using System.Collections.Generic;using UnityEngine;
public class CodeSample : MonoBehaviour{
public void ExampleMethod(List<string> target, List<string> other) { // Check is one list of strings is an exact match for another bool result = target.Matches(other); }
}