On this pageMatchResult classPlatform: PlaywrightLanguage: JavascriptOther languages ▼Puppeteer JavascriptImages PythonImages JavascriptSelenium JavascriptWdio4 JavascriptPlaywright JavascriptNightwatch JavascriptProtractor JavascriptWdiogeneric JavascriptThis value is for internal use only.getAsExpected methodSyntaxlet value = obj.getAsExpected();value = obj.asExpected;Note that this feature is available as both a method and a property.ParametersThis method does not take any parameters.Return valueType: boolean